export default{
    get(key){
        return JSON.parse(sessionStorage.getItem(key));
    },
    set(key,value){
        sessionStorage.setItem(key,JSON.stringify(value))
    },
    clear(){
        sessionStorage.clear()
    },
    iskey(key){
        let rst=sessionStorage.getItem(key);
        if(rst){
            return true;
        }else{
            return false;
        }
    },
    remove(key){
        sessionStorage.removeItem(key);
    }
}